#include "Shifter.h"
#include<avr/io.h>

int main()
{
	//size test.
	DDRA = 0xFF;
	PORTA = 0x00;
	int i = 0;
#define NUMBER 1
	Shifter shift[NUMBER];
	unsigned int len = 20;
	unsigned char b = 0x00;
	BitPointer bit = BitPointer(&b, 0);
	bool direct = false;
	bool io = false;
	for(i = 0; i < NUMBER; i++)
		shift[i] = Shifter(len, bit, direct, io);

	while(true)
	{
		PORTA = ~PORTA;
	for(i = 0; i < NUMBER; i++)
		shift[i].shift();
	}

}
